﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel_Project.Bean
{
    public class SystemSettingsDomain
    {
        public int g_Id;//客人编号
        public string g_Name;//客人姓名
        public char Sex;//客人性别
        public string Id_card;//客人身份证
        public string Address;//住址
        public int Telephone;//联系电话
        public string Remark;//备注说明
        public int room_number;//房间号

        public override bool Equals(object obj)
        {
            return obj is SystemSettingsDomain domain &&
                   g_Id == domain.g_Id;
        }

        public override int GetHashCode()
        {
            return 1322562790 + g_Id.GetHashCode();
        }
    }
}
